<?php 
header("Content-type:text/html;charset=utf-8");
include_once 'sys/conn/conn.php';
$id = $_GET["id"];
$sql = mysql_query("select * from tb_content where id=$id");
while ($result = mysql_fetch_array($sql)){
	$content["content"]=$result["content"];
	$content["title"]=$result["title"];
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中科智远--关于智远</title>
<link rel="stylesheet" href="style/style.css" type="text/css" />
<link rel="stylesheet" href="style/select2css.css" type="text/css" />
</head>

<body>
	<?php include_once 'header.php';?>
    <div class="menu">
    	<ul>
        	<li class="home"><a href="index.php" target="_self">首页</a></li>
            <li class="aboutZY aboutZY_st"><a href="aboutZY.php" target="_self">关于智远</a>
			<li class="news"><a href="news.php" target="_self">新闻中心</a></li>
            <li class="products"><a href="spjk.php" target="_self">产品中心</a></li>
			<li class="kf"><a href="services.php" target="_self">客服中心</a></li>
            <li class="joinUs"><a href="joinUs.php" target="_self">加入我们</a></li>
        </ul>
        <div class="language">
            <div id="uboxstyle">
                <select name="language" id="language">
                    <option value="English">English</option>
                    <option value="简体中文" selected="selected">简体中文</option>
                </select>
            </div>
            <script type="text/javascript" src="js/select2css.js"></script>
        </div>
    </div>
    <div class="normal"><img src="images/aboutzy.jpg" alt="关于智远" width="938" height="106" /></div>
    <div class="shadow"><img src="images/shadow.jpg" alt="" width="946" height="22" /></div>
    <div class="middle">
    	<div class="left">
        	<div class="list_tit">关于智远</div>
            <div class="list">
            	<ul>
            	<?php 
	            	$query = mysql_query("select * from tb_content where c_type='关于智远' order by id");
	            	while ($res = mysql_fetch_array($query)){
	            		$con[]=$res;
	            	}
	            	
	            	foreach ($con as $row){
            	?>
                	<li><a href="<?php echo $_SERVER['PHP_SELF'];?>?id=<?php echo ($row["id"]);?>" target="_self"><?php echo ($row["title"]);?></a></li>
                <?php }?>
                </ul>
            </div>
            <div class="list_bot"><img src="images/list_bot.png" alt="list_bot" width="182" height="24" /></div>
        </div>
        <div class="right">
        	<div class="content_addr">所在位置：<a href="aboutZY.php" target="_self"><?php echo ($row["c_type"])?></a>&nbsp;&gt;&nbsp;<?php echo ($content["title"]);?></div>
            <div class="content">
            	<?php echo ($content["content"]);?>
            </div>
            <div class="content_bot"><img src="images/content_bot.png" alt="content_bot" /></div>
        </div>
    </div>
    <?php include_once 'footer.php';?>
</body>
</html>